﻿#region Librerias

using ESF.General;
using ESF.Data;
using ESF.SFT.Entities;
using System.Data.Linq.Mapping;
using System.Data.Linq;

#endregion


namespace ESF.SFT.DataAccess
{
	[Database]
	internal class DBContext : DataContext
	{
		#region Clasic

		public static DbReader R = new DbReader ("DB");
		
		public static DbWriter W = new DbWriter ("DB");	

		#endregion


		#region Constructor

		public DBContext () : base (ReadConfig.GetConnectionSetting ("DB").ConnectionString) 
		{			
		}

		#endregion


		#region Properties

		public Table<FileReceiveLog> FileReceiveLog;

		#endregion
	}
}
